package cn.edu.zjgsu.ito.util;

import java.sql.Date;

public class Message
{
	private int messageId;
    private int fromId;
    private String fromName;
    private int toId;
    private String messageText;
    private Date messageDate;
    private int type;
    private int targetUserId;
	public int getMessageId()
	{
		return messageId;
	}
	public void setMessageId(int messageId)
	{
		this.messageId = messageId;
	}
	public int getFromId()
	{
		return fromId;
	}
	public void setFromId(int fromId)
	{
		this.fromId = fromId;
	}
	public String getFromName()
	{
		return fromName;
	}
	public void setFromName(String fromName)
	{
		this.fromName = fromName;
	}
	public int getToId()
	{
		return toId;
	}
	public void setToId(int toId)
	{
		this.toId = toId;
	}
	public String getMessageText()
	{
		return messageText;
	}
	public void setMessageText(String messageText)
	{
		this.messageText = messageText;
	}
	public Date getMessageDate()
	{
		return messageDate;
	}
	public void setMessageDate(Date messageDate)
	{
		this.messageDate = messageDate;
	}
	public int getType()
	{
		return type;
	}
	public void setType(int type)
	{
		this.type = type;
	}
	public int getTargetUserId()
	{
		return targetUserId;
	}
	public void setTargetUserId(int targetUserId)
	{
		this.targetUserId = targetUserId;
	}
    
    
}
